package me.exchange.com.modules.system.repository;

import me.exchange.com.modules.system.domain.FileContent;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @author Zheng Jie
 * @date 2018-12-31
 */
public interface FileContentRepository extends JpaRepository<FileContent,Long>, JpaSpecificationExecutor<FileContent> {

    /**
     * 根据key查询
     * @param key 文件名
     * @return FileContent
     */
    FileContent findByKey(String key);
}
